package com.bdqn.service;

import com.bdqn.pojo.Room;

import java.util.List;
import java.util.Map;

public interface RoomService {
    public int add(Room room);
    public int edit(Room room);
    public int delete(Long id);
    public List<Room> findList(Map<String, Object> queryMap);
    public List<Room> findAll();
    public Integer getTotal(Map<String, Object> queryMap);
    public Room find(Long id);
    public Room findBySn(String sn);
}
